package com.hj.dapp.business.project.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hj.dapp.business.project.model.Project;
import com.hj.dapp.common.request.PageRequest;

import java.security.Principal;
import java.util.List;

/**
 * @author 胡奥程
 * @version 1.0
 * @date 2024/1/24
 */
public interface ProjectService {
    void save(Project project, Principal principal);

    Project get(Long id);

    IPage<Project> page(PageRequest<Project> pageRequest);

    void delete(Long id);

    List<Project> list();

    void edit(Project project, Principal principal);
}
